package com.example.guestbook.mapper;

import com.example.guestbook.pojo.Booklist;
import com.example.guestbook.pojo.BooklistExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BooklistMapper {
    long countByExample(BooklistExample example);

    int deleteByExample(BooklistExample example);

    int deleteByPrimaryKey(Integer bookid);

    int insert(Booklist row);

    int insertSelective(Booklist row);

    List<Booklist> selectByExampleWithBLOBs(BooklistExample example);

    List<Booklist> selectByExample(BooklistExample example);

    Booklist selectByPrimaryKey(Integer bookid);

    int updateByExampleSelective(@Param("row") Booklist row, @Param("example") BooklistExample example);

    int updateByExampleWithBLOBs(@Param("row") Booklist row, @Param("example") BooklistExample example);

    int updateByExample(@Param("row") Booklist row, @Param("example") BooklistExample example);

    int updateByPrimaryKeySelective(Booklist row);

    int updateByPrimaryKeyWithBLOBs(Booklist row);

    int updateByPrimaryKey(Booklist row);
}